package com.javatest.springbootcxf.service;

import javax.jws.WebService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author lzy
 * @version v1.0
 * Create DateTime: 2019/2/21 22:13
 */
@Slf4j
@Component
@WebService(targetNamespace = "http://service.javatest.com/", endpointInterface = "com.javatest.springbootcxf.service.HelloService",
        serviceName = "HelloWorld")
public class HelloServiceImpl implements HelloService {
    @Override
    public String sayHello(String name) {
        log.info("sayHello called...");
        return "hello " + name;
    }
}
